package com.assignwork.mapper;

import com.assignwork.dto.AssignWorkDTO;
import com.assignwork.dto.LineAuditDTO;
import com.assignwork.dto.WorkArrangeLandSearchDTO;
import com.assignwork.entity.WorkArrangeLand;
import com.assignwork.vo.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName WorkArrangeLandMapper
 * @Description 陆运配工Mapper
 * @Author dujianyu
 * @Date 2023/12/18 8:26
 */
public interface WorkArrangeLandMapper extends BaseMapper<WorkArrangeLand> {
    /**
     * 列表
     * @param dto 搜索条件
     * @param page 分页
     * @return List<WorkArrangeLandPageVO>
     * @author dujianyu
     * @since 2023/12/18 9:12
     */
    List<WorkArrangeLandListVO> selectWaLandList(@Param("dto") WorkArrangeLandSearchDTO dto, IPage page);

    IPage<WorkArrangeLandVO> pageWorkArrangeLand(IPage<WorkArrangeLandVO> page, @Param("dto") AssignWorkDTO dto);

    List<WorkArrangeLandMobileVO> listLandWorkArrangeMobile(IPage page, @Param("dto") LineAuditDTO dto);

    WorkArrangeLandInfoVO arrangeInfoLandByArrangeId(Long arrangeId);
}
